﻿using System;
using GameFramework.Gameplay;
using GameLogic.ShootGame;

namespace GameLogic
{
    public sealed class DemoGameplayFactory : IGameplayFactory
    {
        public IGameplay Create(uint id)
        {
            return id switch
            {
                ShootGameGameplay.ID => new ShootGameGameplay(),
                _ => throw new ArgumentOutOfRangeException()
            };
        }
    }
}